package com.tc.quartz.support.service;

import com.tc.quartz.frame.base.IBaseService;
import com.tc.quartz.support.bean.SystemDictBean;

import java.util.List;
import java.util.concurrent.ConcurrentMap;

/**
 * desc：用户管理接口
 * @author yongjin.ye
 */
public interface ISystemDictService extends IBaseService {
	
	public String DICT_TYPE_SYSTEM = "system";
	public String DICT_KEY_OPEN_API_TOKEN = "open_api_token";
	public String DICT_KEY_OPEN_API_URL = "open_api_url";
	
	
	public List<SystemDictBean> getDict(String dictType, String dictKey);
	
	public SystemDictBean loadDict(String dictType, String dictKey);
	
	public ConcurrentMap<String, SystemDictBean> getDictCache();
	
	public ConcurrentMap<String, SystemDictBean> putDictCache(SystemDictBean dict);
	
}
